import { FC, useEffect } from "react";
import Link from "next/link";

interface IProps {
    // children: React.ReactNode;
}

const LeftBarLayout: FC<IProps> = () => {

    useEffect(()=>{
        console.log(1)
    },[])

    return (
        <div>
            <ul>
                <li> <Link href='/manage/user'>user</Link>   </li>
                <li> <Link href='/manage'>manage</Link>   </li>
                <li> <Link href='/manage/dist'>dist</Link>   </li>
                <li> <Link href='/'>home</Link>   </li>
            </ul>
        </div>
    );
};

export default LeftBarLayout;
